package com.xiaoshuidi.cloud.module.member.mapper.questionnaireinfo;

import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.member.pojo.questionnaireinfo.MemberAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberAnswerMapper extends BaseMapperX<MemberAnswer> {
    void updateUserId(@Param("oldUserId") Long oldUserId, @Param("userId")  Long userId,  @Param("list")List<Long> notContainsCollect);

    void deleteByQuestionnairedId(@Param("list")List<Long> containsCollect,@Param("oldUserId") Long oldUserId);
}
